Telegram Group & Telegram Channel
29. Number pattern 4.

1
12
123
1234
12345
1234
123
12
1


class NumberPat4
{

public static void main(String arg[])
{

int ck = 0, c = 2;

while (c > 0)
{

if (ck == 0)
{

for (int i = 1; i <= 5; i++)
{

for (int j = 1; j <= i; j++)
{

System.out.print(j);

}

System.out.println();

}

ck++;

}
else
{

for (int i = 1, r = 5 - 1; i <= 5 - 1; i++, r--)
{

for (int j = 1; j <= r; j++)
{

System.out.print(j);

}

System.out.println();
}
}

c--;
}

}
}

@java_codings



tg-me.com/java_codings/41
Create:
Last Update:

29. Number pattern 4.

1
12
123
1234
12345
1234
123
12
1


class NumberPat4
{

public static void main(String arg[])
{

int ck = 0, c = 2;

while (c > 0)
{

if (ck == 0)
{

for (int i = 1; i <= 5; i++)
{

for (int j = 1; j <= i; j++)
{

System.out.print(j);

}

System.out.println();

}

ck++;

}
else
{

for (int i = 1, r = 5 - 1; i <= 5 - 1; i++, r--)
{

for (int j = 1; j <= r; j++)
{

System.out.print(j);

}

System.out.println();
}
}

c--;
}

}
}

@java_codings

BY Advance Java πŸ‘¨β€πŸ’»


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/java_codings/41

View MORE
Open in Telegram


Advance Java ‍ Telegram | DID YOU KNOW?

Date: |

However, analysts are positive on the stock now. β€œWe have seen a huge downside movement in the stock due to the central electricity regulatory commission’s (CERC) order that seems to be negative from 2014-15 onwards but we cannot take a linear negative view on the stock and further downside movement on the stock is unlikely. Currently stock is underpriced. Investors can bet on it for a longer horizon," said Vivek Gupta, director research at CapitalVia Global Research.

A project of our size needs at least a few hundred million dollars per year to keep going,” Mr. Durov wrote in his public channel on Telegram late last year. β€œWhile doing that, we will remain independent and stay true to our values, redefining how a tech company should operate.

Advance Java ‍ from cn


Telegram Advance Java πŸ‘¨β€πŸ’»
FROM USA